object Dialog: TDialog
  Left = 458
  Top = 197
  BorderStyle = bsSingle
  Caption = 'Dialog'
  ClientHeight = 460
  ClientWidth = 568
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  OnClose = FormClose
  OnCreate = FormCreate
  OnResize = FormResize
  PixelsPerInch = 96
  TextHeight = 13
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 568
    Height = 23
    Align = alTop
    AutoSize = True
    Ctl3D = True
    ParentCtl3D = False
    TabOrder = 0
    object KEdit1: TKEdit
      Left = 2
      Top = 1
      Width = 231
      Height = 21
      TabOrder = 0
      OnChange = KEdit1Change
      INITSpeedButton.Show = True
      INITSpeedButton.Kind = bkQuery
      INITSpeedButton.Flat = True
      LookUpFieldName = 'BGSUBTYPE'
      OnSpeedButtonClick = KEdit1SpeedButtonClick
    end
  end
  object Panel4: TPanel
    Left = 0
    Top = 352
    Width = 568
    Height = 40
    Align = alBottom
    TabOrder = 1
  end
  object Panel2: TPanel
    Left = 0
    Top = 392
    Width = 568
    Height = 68
    Align = alBottom
    TabOrder = 2
    object KCondition1: TKCondition
      Left = 1
      Top = 1
      Width = 566
      Height = 66
      DataSet = qLookup
      Align = alClient
      DefaultAddition = 'AND'
    end
  end
  object Panel3: TPanel
    Left = 0
    Top = 23
    Width = 568
    Height = 329
    Align = alClient
    TabOrder = 3
    object wwDBGrid1: TwwDBGrid
      Left = 1
      Top = 1
      Width = 566
      Height = 327
      IniAttributes.Delimiter = ';;'
      TitleColor = clBtnFace
      FixedCols = 0
      ShowHorzScrollBar = True
      Align = alClient
      Ctl3D = False
      DataSource = dsLookup
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit, dgWordWrap, dgShowFooter]
      ParentCtl3D = False
      TabOrder = 0
      TitleAlignment = taCenter
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
      TitleLines = 1
      TitleButtons = False
      OnDblClick = wwDBGrid1DblClick
      PadColumnStyle = pcsPlain
    end
  end
  object qLookup: TADOQuery
    Connection = DataModule1.SqlConnection
    CursorType = ctStatic
    Parameters = <>
    Left = 120
    Top = 232
  end
  object dsLookup: TDataSource
    DataSet = qLookup
    Left = 144
    Top = 232
  end
end
